﻿@model MvcControls.Web.Helpers.ButtonHelperInfo

@if (Model.IsSubmitButton)
{ 
    <input type="submit" value="@Model.Title" id="@Model.Id" />
}
else
{ 
    <input type="button" value="@Model.Title" id="@Model.Id" />
}

<script type="text/javascript">
    $core.button('@Model.Id');
</script>